package cn.edu.nju.askinginhand.bean;
// default package

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;


/**
 * PictureQues entity. @author MyEclipse Persistence Tools
 */

public class PictureQues  implements java.io.Serializable {


    // Fields    

     private Integer id;
     private User user;
     private String content;
     private String image;
     private String status;
     private Timestamp time;
     private String title;
     private String type;
     private Set pictureAnswers = new HashSet(0);


    // Constructors

    /** default constructor */
    public PictureQues() {
    }

	/** minimal constructor */
    public PictureQues(String image) {
        this.image = image;
    }
    
    /** full constructor */
    public PictureQues(User user, String content, String image, String status, Timestamp time, String title, String type, Set pictureAnswers) {
        this.user = user;
        this.content = content;
        this.image = image;
        this.status = status;
        this.time = time;
        this.title = title;
        this.type = type;
        this.pictureAnswers = pictureAnswers;
    }

   
    // Property accessors

    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }

    public User getUser() {
        return this.user;
    }
    
    public void setUser(User user) {
        this.user = user;
    }

    public String getContent() {
        return this.content;
    }
    
    public void setContent(String content) {
        this.content = content;
    }

    public String getImage() {
        return this.image;
    }
    
    public void setImage(String image) {
        this.image = image;
    }

    public String getStatus() {
        return this.status;
    }
    
    public void setStatus(String status) {
        this.status = status;
    }

    public Timestamp getTime() {
        return this.time;
    }
    
    public void setTime(Timestamp time) {
        this.time = time;
    }

    public String getTitle() {
        return this.title;
    }
    
    public void setTitle(String title) {
        this.title = title;
    }

    public String getType() {
        return this.type;
    }
    
    public void setType(String type) {
        this.type = type;
    }

    public Set getPictureAnswers() {
        return this.pictureAnswers;
    }
    
    public void setPictureAnswers(Set pictureAnswers) {
        this.pictureAnswers = pictureAnswers;
    }
   








}